<template>
  <div class="bank-base-info">
    <div class="bank-img">
      <img src="../assets/images/default-bank.jpg" alt="">
      <div class="navigator-btn"></div>
    </div>
    <div class="bank-info">
      <h2>中国工商银行股份有限公司经济技术开发区支行营业部</h2>
      <div class="bank-info-item">
        <svg-icon name="location" size="16"></svg-icon>
        <p>北京市大兴区亦庄经济技术开发区荣昌东街甲5号隆盛大厦A座1层</p>
      </div>
      <div class="bank-info-item">
        <svg-icon name="tele" size="16"></svg-icon>
        <p>010-64863524</p>
      </div>
    </div>
    <div class="bank-btns">
      <div class="bank-btn-item">
        <svg-icon name="like" size="16" color="#fff"></svg-icon>
        <span>收藏</span>
      </div>
      <div class="bank-btn-item" @click="$router.push('/bankDetail')">
        <svg-icon name="detail" size="16" color="#fff"></svg-icon>
        <span>详情</span>
      </div>
    </div>
  </div>
</template>

<script>
export default {

}
</script>

<style lang="less" scoped>
.bank-base-info {
  width: 100%;
  .bank-img {
    position: relative;
    width: 100%;
    img {
      display: block;
      width: 100%;
    }
    .navigator-btn {
      position: absolute;
      right: 22px;
      bottom: -28px;
      width: 64px;
      height: 64px;
      background: url('../assets/images/navigator-btn.svg') no-repeat center / 100%;
      cursor: pointer;
    }
  }
  .bank-info {
    padding: 26px 16px 16px;
    line-height: 1.5;
    h2 {
      font-weight: 500;
      margin-bottom: 16px;
      color: #fff;
    }
    .bank-info-item {
      display: flex;
      align-items: center;
      color: rgba(255, 255, 255, .4);
      margin-bottom: 8px;
      &:last-child {
        margin: 0;
      }
      p {
        margin-left: 8px;
        font-size: 12px;
      }
    }
  }
  .bank-btns {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    .bank-btn-item {
      width: calc(50% - 12px);
      height: 32px;
      box-sizing: 32px;
      display: flex;
      justify-content: center;
      align-items: center;
      border: 1px solid rgba(188, 232, 255, 1);
      border-radius: 2px;
      color: #fff;
      background-color: rgba(58, 104, 174, .3);
      cursor: pointer;
      span {
        margin-left: 14px;
      }
    }
  }
}
</style>
